
package primer.myPo;

import javax.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter2
    extends XmlAdapter<String, Short>
{


    public Short unmarshal(String value) {
        return (primer.MyDatatypeConverter.parseIntegerToShort(value));
    }

    public String marshal(Short value) {
        return (primer.MyDatatypeConverter.printShortToInteger(value));
    }

}
